/* dark colormap */

@define-color theme_base_color #4f524f;
@define-color theme_text_color #eeeeec;
@define-color theme_bg_color #363b3b;
@define-color theme_fg_color @theme_text_color;
@define-color theme_selected_bg_color #3465a4;
@define-color theme_selected_fg_color @theme_text_color;

@define-color menu_bg_color #555753;
@define-color menu_fg_color @theme_text_color;

@define-color menu_combobox_border darker (@theme_selected_bg_color);
@define-color menu_separator mix (@menu_fg_color, @menu_bg_color, 0.95);

@define-color theme_tooltip_bg_color #000000;
@define-color theme_tooltip_fg_color #eeeeee;

@define-color button_gradient_color_a shade (@theme_bg_color, 1.1);
@define-color button_gradient_color_b shade (@theme_bg_color, 0.9);
@define-color button_border #24282a;

@define-color button_active_gradient_color_a shade (@button_gradient_color_b, 0.7);
@define-color button_active_gradient_color_b shade (@button_gradient_color_a, 0.7);

@define-color button_hover_gradient_color_a shade (@button_gradient_color_a, 1.10);
@define-color button_hover_gradient_color_b shade (@button_gradient_color_b, 1.02);

@define-color button_raised_gradient_color_a @button_gradient_color_a;
@define-color button_raised_gradient_color_b @button_gradient_color_b;
@define-color button_raised_linked_shadow alpha(#000000, 0.14);

@define-color button_raised_active_gradient_color_a @button_raised_gradient_color_b;
@define-color button_raised_active_gradient_color_b @button_raised_gradient_color_a;

@define-color insensitive_bg_color alpha(#0b0b0d, 0.0);
@define-color insensitive_fg_color alpha(#717171, 0.50);
@define-color insensitive_border_color alpha(#717171, 0.50);

@define-color inactive_frame_color shade (@theme_bg_color, 0.8);

@define-color notebook_border @button_border;
@define-color notebook_active_tab_border alpha (@theme_selected_bg_color, 1.0);
@define-color notebook_selected_tab_color alpha (@theme_selected_bg_color, 0.75);

@define-color notebook_tab_gradient_a @button_gradient_color_a;
@define-color notebook_tab_gradient_b @button_gradient_color_b;

@define-color switch_slider_color #111113;
@define-color switch_slider_border #a5b8cc;

@define-color highlighted_border @button_border;
@define-color internal_element_color #888a85;
@define-color internal_element_prelight #333333;
@define-color internal_element_insensitive shade (@internal_element_color, 0.75);

@define-color progressbar_background_a #5893df;
@define-color progressbar_background_b #2465ba;
@define-color progressbar_pattern #000000;

@define-color entry_text_color #eeeeee;
@define-color entry_background_a #848684;
@define-color entry_background_b #646464;
@define-color entry_background_c #323232;
@define-color entry_background_d #434343;

@define-color frame_color #707070;

@define-color focused_entry_border @theme_selected_bg_color;
@define-color focused_entry_inset alpha (@theme_selected_bg_color, 0.50);

@define-color toolbar_gradient_base #252624;
@define-color toolbar_gradient_step1 #323331;
@define-color toolbar_gradient_step2 #444642;
@define-color toolbar_gradient_final #51534f;

@define-color toolbar_active_button_color #222222;
@define-color toolbar_border_top #2e3436;
@define-color toolbar_border_bottom #5e605b;

@define-color primary_toolbar_entry_bg #636363;
@define-color primary_toolbar_entry_fg #2e3436;

@define-color expander_row_selected_color alpha (@theme_base_color, 0.60);

@define-color menu_controls_color #aaa8ac;

@define-color keyboard_focus_border_a alpha (@theme_fg_color, 0.30);
@define-color keyboard_focus_border_b alpha (@theme_fg_color, 0.10);

@define-color trough_bg_color_a #30312f;
@define-color trough_bg_color_b #41433f;

@define-color active_switch_bg_color_a shade (@theme_selected_bg_color, 0.85);
@define-color active_switch_bg_color_b @theme_selected_bg_color;

@define-color treeview_focus_border shade (@theme_selected_bg_color, 1.20);

@define-color scale_fill shade (@insensitive_border_color, 0.90);
@define-color scale_border_a shade (@internal_element_color, 0.90);
@define-color scale_border_b shade (@internal_element_color, 0.65);

/* FIXME: needs dark colors from here */
@define-color link_color #4a90d9;
@define-color warning_color #f57900;
@define-color error_color #cc0000;
@define-color success_color #4e9a06;

@define-color info_fg_color rgb (181, 171, 156);
@define-color info_bg_color rgb (80, 80, 120);
@define-color warning_fg_color rgb (173, 120, 41);
@define-color warning_bg_color rgb (120, 73, 31);
@define-color question_fg_color rgb (97, 122, 214);
@define-color question_bg_color rgb (38, 73, 112);
@define-color error_fg_color rgb (166, 38, 38);
@define-color error_bg_color rgb (137, 24, 24);

@define-color os_chrome_bg_color black;
@define-color os_chrome_fg_color #ccc;
@define-color os_chrome_selected_bg_color #333;
@define-color os_chrome_selected_fg_color white;

@define-color chrome_bg_color #1e1a17;
@define-color chrome_fg_color #fff;

@define-color scale_progress_fill #2c85e2;
@define-color scale_progress_border #1864b2;
@define-color scale_progress_border_b #3e90e5;

@define-color wm_highlight shade (@theme_bg_color, 1.4);
@define-color wm_title_highlight #111111;

@define-color wm_bg_a shade (@theme_bg_color, 1.3);
@define-color wm_bg_b @theme_bg_color;

@define-color wm_button_bg_a shade (@theme_bg_color, 1.0);
@define-color wm_button_bg_b shade (@theme_bg_color, 0.85);
@define-color wm_button_bg_c shade (@theme_bg_color, 0.8);
@define-color wm_button_bg_d shade (@theme_bg_color, 0.9);

@define-color wm_button_bg_hover_a shade (@wm_button_bg_a, 1.2);
@define-color wm_button_bg_hover_b shade (@wm_button_bg_b, 1.2);
@define-color wm_button_bg_hover_c shade (@wm_button_bg_c, 1.2);
@define-color wm_button_bg_hover_d shade (@wm_button_bg_d, 1.2);

@define-color wm_button_bg_active_a shade (@theme_bg_color, 0.5);
@define-color wm_button_bg_active_b shade (@theme_bg_color, 0.7);
@define-color wm_button_bg_active_c shade (@theme_bg_color, 0.7);

@import url("gtk-widgets-assets-dark.css");
@import url("gtk-widgets.css");
@import url("gtk-widgets-dark-overrides.css");
@import url("gnome-applications.css");
